<script language="JavaScript" type="text/javascript">
<!-- Hide script from old browsers.
function checkForm(formObj) {
  if (formObj.message.value.length < 2) {
    alert("{L_EMPTY_MESSAGE}");
    return false;
  } else {
    return true;
  }
}
// End -->
</script>

<form action="{U_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {I18N}>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
  <tr>
    <th colspan="2" height="25" style="padding: 0px;"><b>&nbsp;{L_QUICK_REPLY}</b></th>
  </tr><tr>
    <!-- IF S_IS_ANON -->
    <td align="right" class="row1"><span class="gen"><b>{L_USERNAME}:</b></span></td>
    <td class="row1"><input class="post" type="text" name="username" size="25" maxlength="25" style="width: 450px;" value="" /></td>
  </tr><tr>
    <!-- ENDIF -->
    <td align="right" class="row1" valign="top"><span class="gen"><b>{L_MESSAGE}:</b></span></td>
    <td class="row1" style="padding-top: 0px; padding-bottom: 0px;">
    <textarea name="message" style="width: 450px; height: 140px;" wrap="virtual" class="post"></textarea><br />
    <input type="checkbox" name="quick_quote" />{L_QUICK_QUOTE}<br />
    <input type="checkbox" name="attach_sig" checked="checked" />{L_ATTACH_SIGNATURE}
    </td>
  </tr><tr>
    <td colspan="2" class="catbottom" height="28" align="center" style="padding: 0px">
    {S_HIDDEN_QREPLY_FIELDS}
    <input type="submit" name="preview" class="liteoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" accesskey="s" name="post" class="mainoption" value="{L_SUBMIT}" />
    </td>
  </tr>
</table>
</form>

